package edu.gyc.book.service;

import edu.gyc.book.model.Book;
import java.util.List;

public interface BookService {
    boolean addBook(Book book);
    boolean updateBook(Book book);
    boolean deleteBook(Integer id);
    List<Book> getAllBooks();
    //根据分类id获取图书
    List<Book> getBooksByCid(Integer id);
    Book getBook(Integer id);

}
